import {Page, Alert, Platform, NavController} from 'ionic-angular';
import {InstallmentPage} from '../page_installment/InstallmentPage';


@Page({
  templateUrl: 'build/pages/page1/page1.html'
})
export class Page1 {

    static get parameters(){
	return [[NavController]];
    }
    constructor(nav){
	this.nav = nav;
    }
    /*
    constructor() {
        //this.nav = nav;
    }
    constructor(platform: Platform, nav: NavController) {
	this.platform = platform;
        this.nav = nav;
    }
    */

    openPage() {
        this.nav.push(InstallmentPage);
        console.log('Disagree clicked');
    }
}
